package com.tbit.uqbike.object.pojo;

import lombok.Data;

import java.util.Date;

/**
 * @Author HZW
 * @ClassName AdaPayLog
 * @Description 汇付天下分账订单表
 * @date 2022/1/5 16:54
 * @Version 1.0
 */
@Data
public class AdaPayLog {
    /**
     * 订单编号
     */
    private String orderNO;
    /**
     * 支付订单号
     */
    private String adaPayId;
    /**
     * 区域id
     */
    private Integer accountId;
    /**
     * 支付渠道
     */
    private Integer payChannel;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 创建时间
     */
    private Date addTime;
    /**
     * 订单金额
     */
    private Double money;
    /**
     * 订单类型
     */
    private Integer type;
    /**
     * 分账单号
     */
    private String cashNO;
    /**
     * 已分账金额
     */
    private Double cashMoney;
    /**
     * 最后分账时间
     */
    private Date updateTime;
    /**
     * 退款单号
     */
    private String refundNO;
    /**
     * 退款金额
     */
    private Double refundMoney;
    /**
     * 退款时间
     */
    private Date refundTime;
    /**
     * 0未支付、1已支付、2部分分账、3分账完成、4部分退款、5已退款
     */
    private Integer state;
    /**
     * 备注
     */
    private String remark;

    public AdaPayLog() {
    }

    public AdaPayLog(String orderNO, String refundNO, Double refundMoney, Date refundTime, Integer state) {
        this.orderNO = orderNO;
        this.refundNO = refundNO;
        this.refundMoney = refundMoney;
        this.refundTime = refundTime;
        this.state = state;
    }
}
